You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@invisionag/iris-generic

Package Overview
Dependencies
Maintainers
22
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@invisionag/iris-generic

```js import generic from '@invisionag/iris-generic'; ```

4.6.2
latest
Source
npm
Version published
Weekly downloads
45
-86.61%
Maintainers
22
Weekly downloads
 
Created
Source

JS Version

import generic from '@invisionag/iris-generic';

generic is a styled-components wrapper around a couple of shared stylings:

  • box-sizing
  • typography
  • normalization

Usage: Somewhere in your code, you want to inject the exported styling like so:

import * as React from 'react';
import GlobalStyles from '@invisionag/iris-generic';
import App from './my-root-component';

render(
  <>
    <GlobalStyles />
    <App />
  </>
)

SCSS Version

Import the generic file in your sass bundle:

@import '~@invisionag/iris-generic/generic.scss';

FAQs

Package last updated on 28 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts